package com.tg.paw.ums.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Rubble
 * @date 2020/10/23
 */
@Data
@ApiModel("权限按钮参数")
public class PermissionButtonsParams {

    @NotNull(message = "父权限ID不能为空")
    @ApiModelProperty("父权限ID")
    private Long parentId;

    @ApiModelProperty("权限按钮")
    private List<String> buttonPermissions;
}
